<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <p>{{company.name}}</p>
        <p>{{company.address}}</p>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script>
        // new Vue({
        //     el: '#app',
        //     data: {
        //         company: {
        //             name: 'lagou',
        //             address: '北京'
        //         }
        //     }
        // })
        new Vue({
            data: {
                company: {
                    name: 'lagou',
                    address: '北京'
                }
            },
            render(h) {
                return h ('div', [
                    h('p', this.company.name),
                    h('p', this.company.address)
                ])
            }
        }).$mount('#app')
    </script>
</body>
</html>